﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Web.Mvc;
using Nop.Web.Framework;
using Nop.Core.Domain.Logistics;
using Nop.Admin.Models.Common;

namespace Nop.Admin.Models.Logistics
{
    public class LogisticsCourierCommissionModel
    {
        public LogisticsCourierCommissionModel()
        {
            Plans = new List<PlannedRouteModel>();
        }

        [NopResourceDisplayName("Admin.Logistics.List.StartDate")]
        [UIHint("DateNullable")]
        public DateTime? StartDate { get; set; }

        [NopResourceDisplayName("Admin.Logistics.List.EndDate")]
        [UIHint("DateNullable")]
        public DateTime? EndDate { get; set; }

        [NopResourceDisplayName("Admin.Logistics.Courier")]
        public int CourierId { get; set; }
        [NopResourceDisplayName("Admin.Logistics.District")]
        public int DistrictId { get; set; }
        public string DistrictName { get; set; }

        public IList<PlannedRouteModel> Plans;
    }
}
